<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\11\7 0007
 * Time: 20:17
 */
namespace app\common\validate;

use think\Validate;

class DownloadCateValidate extends Validate{
    protected $rule = [
        'name'=>'require',
        'cover'=>'require',

    ];

    protected $message = [
        'name.require'=>'分类名称必填',
        'cover.require'=>'请上传封面图',
    ];
}
